<#--
/****************************************************
 * Description: 角色权限的列表页面
 * Copyright:   Copyright (c) 2013
 * Company:     beiwaionline
 * @author      bfsu
 * @version     1.0
 * @see
	HISTORY
    *  2013-08-08 bfsu Create File
**************************************************/
-->
<#include "/view/templates/ace/ace-inc.ftl">
<@html>
<@head>
<script type="text/javascript">

</script>

</@head>
<@body>
<#if vehicle??>
<@nav '<a href="#" onclick="bfsu.html(\'${base}/yihang/vehicle/index\')">车辆管理</a>','车辆（${vehicle.vehicleNo}）的文档列表'/>
<#else>
<@nav '文档管理','文档设置'/>
</#if>

<@content url="${base}/yihang/documents/list">
<@query>
<input type='hidden' name='vehicleId' value='${vehicle?exists?then(vehicle.id?c, '')}' />
	<@querygroup  title='车牌号'><input type='text' name='vehicleNo' class="form-control" placeholder="输入车牌号"></@querygroup>
	<@querygroup  title='文档名称'><input type='text' name='name' class="form-control" placeholder="输入文档名称"></@querygroup>
</@query>

<@button icon="plus" 	 type="primary" onclick="bfsu.add('${base}/yihang/documents/input','添加档案');">添加</@button>
<@button icon="pencil" type="primary" onclick="bfsu.edit('${base}/yihang/documents/input','修改档案')">修改</@button>
<@button icon="remove" type="primary" onclick="bfsu.del('${base}/yihang/documents/delete','删除档案？');">删除</@button>
</@content>

</@body>
</@html>